//
//  CYUserCell.h
//  CaiYun
//
//  Created by 今日信息科技 on 2017/6/29.
//  Copyright © 2017年 今日信息科技. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CYUserCellDelegate <NSObject>
@required
- (void)actionForCYUserCell:(BOOL)on cellTitle:(NSString *)title;

@end
@interface CYUserCell : CYTableViewCell
/*图片*/
@property (nonatomic, copy)  NSString *img;
/*标题*/
@property (nonatomic, copy) NSString *title;
/*开关,判断是否有开关这个字符串，如果有，则判断开还是关，并显示开关控件*/
@property (nonatomic, copy) NSString *onStr;
@property (nonatomic, weak) id <CYUserCellDelegate>delegate;
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier;
@end
